<table width="100%" bgcolor="#95CC00">

	<tbody>

		<tr>

			<td>

				<br />

				<br />

				<table width="650" cellspacing="10" cellpadding="15" bgcolor="#efefef" align="center">

					<tbody>

						<tr>

							<td bgcolor="#ffffff">

								<p>

									<a target="_blank" href="http://dietvirut.com">

										<img border="0" alt="Dietvirut" src="<?php echo $this->baseUrl('/upload/') ?>/galleries/banners/logo_1.png" />

									</a>

								</p>

                                <br />

                                <br />

								<p>Xin chào <?php echo $this->name; ?>,</p>

								<p>Bạn vừa mua hàng thành công tại <a target="_blank" href="http://dietvirut.com">http://dietvirut.com</a></p>

                                <p>Mã kích hoạt của bạn là: </p>

                                <table style="width: 100%;">

                                    <thead>

                                        <tr>

                                            <th style="width: 5%;">

                                                STT

                                            </th>

                                            <th style="width: 50%;">

                                                Sản phẩm

                                            </th>

                                            

                                            <th>

                                                Mã kích hoạt

                                            </th>

                                        </tr>

                                    </thead>

                                    <tbody>

                                        <?php $i = 0; ?>

                                        <?php foreach($this->items as $item): ?>

                                        <?php $i ++; ?>

                                            <tr>

                                                <td style="text-align: center;">

                                                    <?php echo $i; ?>

                                                </td>

                                                

                                                <td style="text-align: center;">

                                                    <?php echo $item->name; ?>

                                                </td>

                                                

                                                <td style="text-align: center;">

                                                    <?php echo $item->key; ?>

                                                </td>

                                            </tr>

                                        <?php endforeach; ?>

                                    </tbody>

                                </table>

								<p>

                                    Mọi thắc mắc về sản phẩm xin liên hệ với chúng tôi qua email:<br />

                                    <a href="mailto:hotro@dietvirut.com" target="_blank">hotro@dietvirut.com</a>

                                </p>

                                <p>

                                    Dietvirut<br />

                                    Website: <a href="http://dietvirut.com" target="_blank">http://dietvirut.com</a><br />

                                    Email: <a href="mailto:hotro@dietvirut.com" target="_blank">hotro@dietvirut.com</a><br />

                                </p>

							</td>

						</tr>

					</tbody>

				</table>

				<br />

				<br />

			</td>

		</tr>

	</tbody>

</table>